﻿<%@ Page Language="C#" MasterPageFile="~/Student/StuMasterPage.master" AutoEventWireup="true" CodeFile="ModifyPassword.aspx.cs" Inherits="Student_Default2" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentBody" Runat="Server">
<style type="text/css">
.label{
    color:blue;
    width:20px;
}
#modifyPassword{
    border:solid #999 1px;
}
</style>
<form runat="server">   
    <div>
        <div id="modifyPassword">
            <label class="label">原密码：</label><asp:TextBox ID="oldPassword" TextMode="Password" runat="server" />
            <asp:RequiredFieldValidator id="oldpasswordValidator" ControlToValidate="oldPassword" ErrorMessage="原始密码不能为空." runat="server" /><br />
            <label class="label">新密码：</label><asp:TextBox ID="newPassword" TextMode="Password" runat="server" />
            <asp:RequiredFieldValidator id="RequiredFieldValidator1" ControlToValidate="newPassword" ErrorMessage="新密码不能为空." runat="server" /><br />
            <label class="label">重复新密码：</label><asp:TextBox ID="repassword" TextMode="Password" runat="server" />
            <asp:CompareValidator ID="compareValidator" ControlToCompare="repassword" ControlToValidate="newPassword" ErrorMessage="两次输入的新密码不一致." runat="server" /><br />
            <asp:ImageButton ID="ImageButton1" ImageUrl="~/Image/确认修改.gif" OnClick="btnModifyPassword_Click" runat="server" />
            <asp:Image ID="img" Width="16" Height="16" runat="server" /><asp:Label ID="msg" Text="" runat="server" />
        </div>
        
            
     </div>
     
</form>
</asp:Content>

